package com.kuaixueit.crm.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.kuaixueit.crm.pojo.CDept;

public interface CDeptMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(CDept record);

    int insertSelective(CDept record);

    CDept selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CDept record);

    int updateByPrimaryKey(CDept record);

    /**
     * 根据部门名称分页模糊查询
     * @param deptName
     * @return
     */
	List<CDept>  findList(@Param("deptName")String deptName);
}